package com.sora.model.entity;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@ApiModel(value = "用户")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserEntity implements Serializable {

    private static final Long serialVersionUID = 1L;

    /*
    * 主键
    * */
    private Integer id;

    /*
    * 用户名
    * */
    private String name;

    /*
    * 密码
    * */
    private String password;

    /*
    * 性别
    * */
    private Integer gender;

    /*
    * 年龄
    * */
    private Integer age;
}
